package top.lshaci.learning.springboot.scheduled.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * StaticScheduleTask
 *
 * @author lshaci
 * @since 1.0.0
 */
@Slf4j
@Component
public class StaticScheduleTask {
//    @Scheduled(cron = "0/5 * * * * ?")
    //或直接指定时间间隔，例如：5秒
    //@Scheduled(fixedRate=5000)
    private void configureTasks() {
        log.debug("执行静态定时任务时间");
    }
}
